import service from './require';
 
// 获取Token
export function getTokenApi(){
  return service.get('/user/token')
}

// 验证token
export function verifyTokenApi(publicKey,signatureMessage){
  var formData = new FormData()

  formData.append("publicKey",publicKey)
  formData.append("signatureMessage",signatureMessage)

  return service.post("/user/token",formData)

}
